package eu.news.data.pojo;

import java.util.Date;
import java.util.Set;

/**
 * 评论
 * @author WZZ
 *
 */
public abstract class Comment implements Entity {

	public abstract int getId();

	public abstract void setId(int id);

	public abstract String getUsername();

	public abstract void setUsername(String username);

	public abstract String getComment();

	public abstract void setComment(String comment);

	public abstract News getNews();

	public abstract void setNews(News news);

	public abstract Comment getReplyTo();

	public abstract void setReplyTo(Comment replyTo);

	public abstract Set<? extends Comment> getReplys();

	public abstract void setReplys(Set<? extends Comment> replys);

	public abstract Date getTime();

	public abstract void setTime(Date time);
	
}
